//
//  DetaiCollectionViewCell.m
//  UIA段项目 墨家天气
//
//  Created by dllo on 15/9/13.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "DetaiCollectionViewCell.h"

@implementation DetaiCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.imageV = [[UIImageView alloc]init];
        
        [self.contentView addSubview:_imageV];
        
        
        self.title = [[UILabel alloc]init];
        self.title.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_title];
        
    }

    return self;
}
-(void)layoutSubviews
{
    self.imageV.frame = CGRectMake(0,0, self.contentView.frame.size.width, self.contentView.frame.size.height);
    self.title.frame  = CGRectMake(0, 500 * OffHeight, self.contentView.frame.size.width, 200 * OffHeight);
}
@end
